package com.alks.function.mapper.pcfactoryquery;

import com.alks.entity.data.entity.PcMtlAcc;
import com.alks.function.data.dto.pcfactoryquery.AcMtlAccDetailDto;
import com.alks.function.data.dto.pcfactoryquery.AcMtlLotDetailDto;
import com.alks.function.data.dto.pcfactoryquery.PcMtlAccDto;
import com.alks.function.data.request.factoryquery.AcMtlAccHeadRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 材料库存表 Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-07-29
 */
public interface FT_QR_PcMtlAccMapper extends BaseMapper<PcMtlAcc> {

    /**
     * 查询材料库存主表数据
     * @param request
     * @return
     */
    List<PcMtlAccDto> queryMtlAccHead(AcMtlAccHeadRequest request);

    /**
     * 查询入库明细
     * @param mtlNo
     * @return
     */
    List<AcMtlAccDetailDto> queryMtlAccDetailIn(String mtlNo);

    /**
     * 查询出库明细
     * @param mtlNo
     * @return
     */
    List<AcMtlAccDetailDto> queryMtlAccDetailOut(String mtlNo);

    /*查询指令明细*/
    List<AcMtlLotDetailDto> queryMtlLotDetailOut(String mtlNo);
}
